package com.example.communist_app_api.vo.uniapp.req;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author Brother Sheng Editor
 * @version 1.0
 * Create by 2023/3/22 0:05
 */
@Data
@ApiModel
public class UniAppSearchMessageByPageReq {


    @NotNull
    @Min(1)
    private Integer page;

    @NotNull
    @Range(min=1,max=40)
    private Integer length;

}
